package com.csnf.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("seata-storage")
public interface StorageFeignClient {

    @PostMapping("/storage/updateStorage")
    public String updateStorage(@RequestParam String productCode,
                                @RequestParam int count);
}
